﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows.Forms;

namespace FinalProject.Gui
{
    internal class Ultilities
    {
        public static DialogResult GetErrorMessage(string text)
        {
            return MessageBox.Show(text, "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        public static DialogResult GetWarningMessage(string text)
        {
            return MessageBox.Show(text, "Cảnh báo", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
        }
    }
}
